<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<div data-ng-controller="EditShareController">
		<div class="panel panel-default clearfix"  style="text-align: left;">
			<div class="panel-heading" align="left" style="background: #ffffff">
				<h3 class="panel-title">帖子审核</h3>
			</div>
			<div class="panel-body" style="overflow-y: scroll; height: 480px">
				
				<div>
            		<div class="form-group clearfix">
                		<label class="col-sm-3 control-label" style="width: 100px">发帖人:</label>
               			 <div class="col-sm-8">
               			 	{{shareVo.shareUserName || ''}}
                		 </div>
            		</div>
            		
            		<div class="form-group clearfix">
                		<label class="col-sm-3 control-label" style="width: 100px">发帖时间:</label>
               			 <div class="col-sm-8">
               			 	{{shareVo.shareTime | date:'yyyy-MM-dd HH:mm:ss'}}
                		 </div>
            		</div>
            		
            		<div class="form-group clearfix">
                		<label class="col-sm-3 control-label" style="width: 100px">帖子内容:</label>
               			 <div class="col-sm-8">
               			 	{{shareVo.content}}
                		 </div>
            		</div>
            		
            		<div class="form-group clearfix" ng-if ="shareVo.shareType==1">
                		<label class="col-sm-3 control-label" style="width: 100px">视频:</label>
               			 <div class="col-sm-8">
               			 		
               			 		<div data-ng-if="shareVo.shareUrl.length > 0">
									<!-- <video width="320" height="240" controls="controls" style="background-color: grey">
										  <source ng-src="{{shareVo.shareUrl[0]}}" type="video/mp4" />
										  <object data="movie.mp4" width="320" height="240">
										      <embed ng-src="{{shareVo.shareUrl[0]}}" width="320" height="240" />
										  </object>
									</video> -->	
									
									<video src="{{shareVo.shareUrl[0]}}"  width="320" height="240" controls="controls">
										您的浏览器不支持 HTML5 video 标签。
									</video>  
			                	</div>
                		 </div>
            		</div>
            		
            		<div class="form-group clearfix" ng-if ="shareVo.shareType==2">
                		<label class="col-sm-3 control-label" style="width: 100px">图片:</label>
               			 <div class="col-sm-8">
               			 		<div data-ng-if="shareVo.shareUrl.length > 0" data-ng-repeat="record in shareVo.shareUrl">
			                    	<img alt="" ng-src="{{'http://p2zmea1zp.bkt.clouddn.com/'+record}}" />
			                	</div>	
                		 </div>
            		</div>
            		
            		<div class="form-group clearfix" ng-if ="shareVo.shareType==3">
                		<label class="col-sm-3 control-label" style="width: 100px">笑话:</label>
               			 <div class="col-sm-8">
               			 		{{shareVo.content}}
                		 </div>
            		</div>
            		
            		<div class="form-group clearfix" ng-if ="shareVo.shareType==4">
                		<label class="col-sm-2 control-label" style="width: 100px">语音:</label>
               			 <div class="col-sm-8">
               			 		<div data-ng-if="shareVo.shareUrl.length > 0">
               			 			<!-- <div fc-audio-player src="{{shareVo.shareUrl[0]}}"></div> -->
               			 			<audio  ng-src="{{shareVo.shareUrl[0]}}"  controls="controls">您的浏览器不支持html5</audio>
			                	</div>
                		 </div>
            		</div>
            		
            		<div class="form-group clearfix" ng-if ="shareVo.shareType==5">
                		 <label class="col-sm-3 control-label" style="width: 100px">链接:</label>
               			 <div class="col-sm-8">
               			 	<a href="{{shareVo.linkUrl}}">{{shareVo.linkUrl}}</a>	
                		 </div>
            		</div>
            		
            		
            		
            		<div class="form-group clearfix">
                		<label class="col-sm-3 control-label" style="width: 100px">点赞数:</label>
               			 <div class="col-sm-8">
               			 	<input type="text" data-ng-model="shareVo.praiseCount"/>
                		 </div>
            		</div>
            		
            		<div class="form-group clearfix">
                		<label class="col-sm-3 control-label" style="width: 100px">评论数:</label>
               			 <div class="col-sm-8">
               			 	<input type="text" data-ng-model="shareVo.commentCount"/>
                		 </div>
            		</div>
            		
            		<div class="form-group clearfix">
                		<label class="col-sm-3 control-label" style="width: 100px">分享数:</label>
               			 <div class="col-sm-8">
               			 	<input type="text"  data-ng-model="shareVo.shareCount"/>
                		 </div>
            		</div>
            		
            		<div class="form-group clearfix">
                		<label class="col-sm-3 control-label" style="width: 100px">阅读数:</label>
               			 <div class="col-sm-8">
               			 	<input type="text" data-ng-model="shareVo.readCount"/>
                		 </div>
            		</div>
				</div>
				
				<hr>
				<div class="panel-heading" align="left" style="background: #ffffff">
					<h3 class="panel-title">评论列表</h3>
					<hr>
				</div>
				<div class="col-sm-12 paddingLeft0" data-ng-if="shareVo.commonVos.length > 0" data-ng-repeat="record in shareVo.commonVos" >
					<div style="display: inline;">
						<div style="position: relative;left: 16px;float: left;">
							{{record.commentUserName}}:{{record.commonContent || ''}}
						</div>
					
						<div style="float: right;position: relative;margin-right: 60%">
							{{record.commentTime | date:'yyyy-MM-dd HH:mm:ss'}}
						</div>
					</div>
       			</div>
			</div>
			
			<!-- <div class="panel-footer" style="background: #ffffff;overflow: scroll; height: auto">
			
				<div class="col-sm-12 paddingLeft0" data-ng-if="shareVo.commonVos.length > 0" data-ng-repeat="record in shareVo.commonVos" >
					
					<div>
						{{shareVo.shareUserName || ''}}
						
					</div>
		            <table class="table table-bordered table-striped table-hover" style="text-align: center;" >
			            <thead>
			                <tr> 
			                    <th style="text-align: center; align:center;" >发帖人</th>
			                    <th style="text-align: center; align:center;" >发帖时间</th>
			                    <th style="text-align: center; align:center;" >评论人 </th>
			                    <th style="text-align: center; align:center;" >评论时间 </th>
			                    <th style="text-align: center; align:center;" >评论内容</th>
			                </tr>
		                </thead>
		                <tbody>
			                <tr data-ng-if="shareVo.commonVos.length > 0" data-ng-repeat="record in shareVo.commonVos">
			                    <td style="width:10%; cursor: pointer; text-align:center;">{{shareVo.shareUserName || ''}}</td>
			                    <td style="width:10%; cursor: pointer; text-align:center;">{{shareVo.shareTime | date:'yyyy-MM-dd HH:mm:ss'}}</td>
			                    <td style="width:25%; cursor: pointer; text-align:center;">{{record.commentUserName}}</td>
			                    <td style="width:10%; cursor: pointer; text-align:center;">{{record.commentTime | date:'yyyy-MM-dd HH:mm:ss'}}</td>
			                    <td style="width:15%; cursor: pointer; text-align:center;">{{record.commonContent}}</td>
			                </tr>
		                </tbody>
		            </table>
        		</div>
			</div> -->
			

			<div class="panel-footer" style="background: #ffffff;">
			
				<div class="confirm_btn1" data-ng-click="close()">
					<div style="font-size: 12px; color: #00000; text-align: center; position: relative; left: 2px; top: 25%;cursor: pointer;">关闭 </div>
				</div>
				
				<div class="confirm_btn1" data-ng-click="edit()">
					<div style="font-size: 12px; color: #00000; text-align: center; position: relative; left: 2px; top: 25%;cursor: pointer;">修改</div>
				</div>
			</div>

	</div>
</div>
